package com.qf.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 作者：大狗
 * 时间：2021/7/13 9:55
 */
public class Message {
    private String id;
    private String exchange;
    private String routingKey;
    private String content;
    private Integer status;
    private Integer tryCount;
    private Date createTime;

    public Message() {
    }

    public Message(String id, String exchange, String routingKey, String content, Integer status, Integer tryCount, Date createTime) {
        this.id = id;
        this.exchange = exchange;
        this.routingKey = routingKey;
        this.content = content;
        this.status = status;
        this.tryCount = tryCount;
        this.createTime = createTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getExchange() {
        return exchange;
    }

    public void setExchange(String exchange) {
        this.exchange = exchange;
    }

    public String getRoutingKey() {
        return routingKey;
    }

    public void setRoutingKey(String routingKey) {
        this.routingKey = routingKey;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getTryCount() {
        return tryCount;
    }

    public void setTryCount(Integer tryCount) {
        this.tryCount = tryCount;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
